home *** CD-ROM | disk | FTP | other *** search
- /* Demonstrates a way to read serial chars with immediate response */
- /* This scripts sends all data that is received within NComm */
- /* to the current CLI window. Must be executed with the RX command */
-
- options results /* Turn on result codes */
-
- do forever /* for (;;) */
- address 'ncomm' wait /* Wait for anything, return current line */
- if RC == 20 then exit /* Exit if user selected Quit NComm */
- say result /* Write line to CLI window */
- end
-